package com.neusoft.neuiotms.dcom.vo;

import java.util.Date;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import cn.afterturn.easypoi.handler.inter.IExcelModel;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class TransferWeeklyImportVO implements IExcelDataModel, IExcelModel {

    @NotNull(message = "不能为空")
    @Excel(name = "报告日期", orderNum = "0", format = "yyyy/MM/dd HH:mm:ss")
    private Date weekTime;

    @NotBlank(message = "不能为空")
    @Excel(name = "单位名称", orderNum = "1")
    private String unit;

    @NotNull(message = "不能为空")
    @Excel(name = "调研准备", orderNum = "2")
    private Integer survey;

    @NotNull(message = "不能为空")
    @Excel(name = "初始化健康检查", orderNum = "3", width = 25)
    private Integer healthCheckup;

    @NotNull(message = "不能为空")
    @Excel(name = "上门调研", orderNum = "4")
    private Integer dropIn;

    @NotNull(message = "不能为空")
    @Excel(name = "单项完成进度", orderNum = "5", width = 25)
    private Integer schedule;

    @NotNull(message = "不能为空")
    @Excel(name = "调研资料整理", orderNum = "6", width = 25)
    private Integer material;

    @NotNull(message = "不能为空")
    @Excel(name = "资产盘点", orderNum = "7")
    private Integer assetInventory;

    @NotNull(message = "不能为空")
    @Excel(name = "资产入库", orderNum = "8")
    private Integer assetWarehousing;

    @NotNull(message = "不能为空")
    @Excel(name = "资产录入", orderNum = "9")
    private Integer assetEntry;

    @NotNull(message = "不能为空")
    @Excel(name = "方案定制", orderNum = "10")
    private Integer schemeCustomization;

    @Excel(name = "完工时间", orderNum = "11", format = "yyyy/MM/dd HH:mm:ss")
    private Date closingTime;

    @Excel(name = "总结描述", orderNum = "12")
    private String summaryDescription;

    @Excel(name = "下周工作计划", orderNum = "13", width = 15)
    private String workPlan;

    @Excel(name = "问题记录及解决方案", orderNum = "14", width = 25)
    private String problemLog;

    @Excel(name = "备注", orderNum = "15")
    private String remarks;

    private String errorMsg;

    private Integer rowNum;

    @Override
    public String getErrorMsg() {
        return this.errorMsg;
    }

    @Override
    public void setErrorMsg(final String errorMsg) {
        this.errorMsg = errorMsg;

    }

    @Override
    public Integer getRowNum() {
        return this.rowNum;
    }

    @Override
    public void setRowNum(final Integer rowNum) {
        this.rowNum = rowNum;
    }
}
